export default {
    loadLanguage: (params = {lang: ':lang'}) => `/lang/${params.lang}.lang`, //wait

    //oss
    getPolicy: params => '/oss/policy',//获取上传凭证

    //country-code
    getCountryCodeList: params => '/countryCode/getList',//获取区号


    //登录模块
    login: params => '/login',
    exitLogin: params => '/logout', //退出登录

    //用户管理模块
    getUsers: params => '/users/getUsers',//获取用户列表
    getIncomeUser: params => '/users/getIncomeMessage',
    getUserUpdate: params => '/users/updateUser',//修改用户信息
    addNewUsers: params => '/users/insertUser',//添加用户接口
    getUserDetail:params => '/users/getUserDetails',//获取用户详情
    getProductList:params => '/product/list',//所有产品列表
    addVersionRecord:params => '/order/record/add',//选择产品新增购买记录
    unbindWeChat:params => '/users/removeWeChatBinding',//解绑微信
    sortUser:params => '/users/userSorting',//用户排序
    deleteSort:params => '/users/deleteUserBySort',//清除该用户的排序数据
    downloadUserExcel:params => '/users/exportUsersExcel',//导出用户Excel
    getAgentInfo:params => '/agent/getAgentInfo/all',//获取代理商信息
    addAgentUser:params => '/agent/config/addUser',//把用户添加到某个代理商下面
    getAgentName:params => '/agent/list/user/',//获取用户是哪个代理商邀请的
    deleteAgent:params => '/agent/del/user/',//删除代理商邀请的用户信息


    //订单管理模块
    getAllRecords: params => '/order/records/',//获取订单管理记录
    getUserRecords: params => '/order/records/',//根据用户获得购买记录
    getSearchRecords: params => '/order/records/user',//全局搜索用户订单记录
    getIncomeOrder: params => '/order/getIncomeMessage',
    getTimeRecords: params => '/order/records/time',//按年月搜索用户订单购买记录
    downloadOrder: params => '/order/records/sometime',//指定某个时间段搜索用户订单购买记录


    //画展管理模块
    getExhibitionList: params => '/artShow/artShowList',//获取发布的画展列表
    cancelExhibitionRelease: params => '/artShow/releaseArtShow',//取消发布画展
    sortExhibition: params => '/artShow/sortArtShow',//排序画展
    getViewLevelAdd: params => '/artShow/viewLevel',//修改自动加数据
    downloadExhibition:params => '/artShow/exportArtShowExcel',//导出发布画展接口

    //代理商管理模块
    agentsInsert: params => '/agent/config/add',//添加代理商
    getAgentsList: params => '/agent/getAgentInfo',//获取列表
    agentsUpdate: params => '/agent/config/update',//更新
    agentsDelete: params => '/agent/del/',//删除
    agentsDeleteUser: params => '/agent/del/user/',//删除注册记录的用户
    agentsRegisterRecord: params => '/agent/record/reg',//代理商邀请的注册记录
    agentsPurchaseRecord: params => '/agent/record/buy/',//代理商邀请的购买记录


    //banner图管理模块
    getBannerList: params => '/banner/bannerList',//获取banner列表接口(包括检索)
    getBannerDelete: params => '/banner/delBanner', //删除banner
    getBannerUpdate: params => '/banner/updateBanner',//修改banner信息
    addBanner: params => '/banner/addBanner',//添加banner
    getBannerRelease: params => '/banner/releaseBanner',//发布或取消发布banner接口


    //管理员账号管理模块
    getAccountsList: params => '/backusers/list',//列表
    accountsInsert: params => '/backusers/add',//新增
    accountsUpdate: params => '/backusers/update',//更新
    accountsDelete: params => '/backusers/del/',//冻结
    accountsRestore: params => '/backusers/update/',//解冻
    accountResetPwd: params => '/backusers/adminResetPass',//修改密码


    //身份管理模块
    getRoleList: params => '/roles/list',
    roleInsert: params => '/roles/add',
    roleUpdate: params => '/roles/update',
    roleDelete: params => '/roles/del/',
    roleRestore: params => '/roles/update/',//解冻


    //展馆模型管理模块
    getModelsList: params => '/model/modelList',//获取模型列表接口(包括检索)
    getSelectModelList: params => '/model/list',//获取模型列表接口(id和名称)
    modelsUpdate: params => '/model/updateModel',//修改数据
    modelsInsert: params => '/model/addModel',//添加展馆
    modelsDelete: params => '/model/deleteModel',//删除
    modelsConfig: params => '/model/configModel',//配置
    modelsSort: params => '/model/sortModel',//排序
    modelsInfo: params => '/model/modelMessage',//根据id获取配置信息

    //导航列表模块
    getMenuList: params => '/menus/treeList',
    getAllMenuList: params => '/menus/list',
    getMenuListForRole: params => '/menus/list/',

    //扫码赠送vip
    getProductCode: params => '/give/',//获取机构赠送信息
    addProductVersion: params => '/give/add',//新增机构赠送信息
    getProductUpdate: params => '/give/update',//更新机构赠送信息
    getProductDelete: params => '/give/del/',//删除机构赠送


};
